package com.betterman.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author fox
 * @since 2020-08-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="User对象", description="")
public class User extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "昵称")
    private String username;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "邮件")
    private String email;

    @ApiModelProperty(value = "手机电话")
    private String mobile;

    @ApiModelProperty(value = "积分")
    private Integer point;

    @ApiModelProperty(value = "个性签名")
    private String sign;

    @ApiModelProperty(value = "性别")
    private String gender;

    @ApiModelProperty(value = "微信号")
    private String wechat;

    @ApiModelProperty(value = "vip等级")
    private Integer vipLevel;

    @ApiModelProperty(value = "生日")
    private LocalDateTime birthday;

    @ApiModelProperty(value = "头像")
    private String avatar;

    @ApiModelProperty(value = "内容数量")
    private Integer postCount;

    @ApiModelProperty(value = "评论数量")
    private Integer commentCount;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "最后的登陆时间")
    private LocalDateTime lasted;

}
